@import "../common/index";

.home {
  .banner {
    position: relative;
    padding-top: 8rem;
    width: 100%;
    height: 70vh;
    background: url("../../assets/home/banner.png") no-repeat top;
    background-size: cover;

    .bannerHeader {
      .t1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        font-family: AlibabaPuHuiTi_2_75_SemiBold;
      }

      .t2 {
        font-family: AlibabaPuHuiTi_2_35_Thin;
        font-size: 24px;
        color: #333333;
      }
    }

    .bannerBottom {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 1.5rem 0;
      background: rgba(255, 255, 255, .4);

      .bottomBox {
        display: flex;
        align-items: center;

        .bannerBottomItem {
          display: flex;

          .bannerItemRight {
            margin-left: .8rem;

            .rightT1 {
              font-size: 20px;
              font-weight: bold;
              margin-bottom: 16px;
            }

            .rightT2 {
              color: #666666;
            }
          }
        }
        .split{
          width: 1px;
          height: 40px;
          margin: 0 1rem;
          opacity: 0.6;
          background: #CBD8E6;
        }
      }
    }
  }

  .h1 {
    margin: 4rem 0 3rem;
    text-align: center;
  }

  .serviceBox {
    display: flex;
    .serviceCenter{
      flex: 0 0 474px;
      height: 578px;
      margin: 0 20px;
      background: url("../../assets/home/serviceBg1.png") no-repeat top;
      background-size: cover;
      .serviceTitle{
        padding: 60px 40px 1rem;
        font-size: 28px;
        font-weight: bold;
        color: @allWhite;
        font-family: AlibabaPuHuiTi_2_75_SemiBold;
      }
      .serviceContent{
        padding: 0 40px;
        color: @allWhite;
        font-family: AlibabaPuHuiTi_2_55_Regular;
      }
    }
    .serviceC{
      flex: 1;
      .serviceItem {
        margin-bottom: 20px;
        height: 280px;
        border-radius: 4px;
        .serviceTitle{
          padding: 60px 40px 1rem;
          font-size: 28px;
          font-weight: bold;
        }
        .serviceContent{
          width: 320px;
          padding: 0 40px;
        }
        &_2 {
          background: url("../../assets/home/serviceBg2.png") no-repeat top;
          background-size: cover;
        }
        &_3 {
          background: url("../../assets/home/serviceBg3.png") no-repeat top;
          background-size: cover;
        }
        &_4 {
          background: url("../../assets/home/serviceBg4.png") no-repeat top;
          background-size: cover;
        }
        &_5 {
          background: url("../../assets/home/serviceBg5.png") no-repeat top;
          background-size: cover;
        }
      }
    }
  }
  .programmeBox{
    display: flex;
    .programmeItem{
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 360px;
      background-size: cover;
      span{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 1rem;
        color: @allWhite;
      }
      .c1{
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: @allWhite;
        margin-bottom: 12px;
        margin-top: 12px;
      }
      .c2{
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: @allWhite;
        margin-bottom: 12px;
      }
      .c3{
        width: 2px;
        height: 2px;
        border-radius: 50%;
        background: @allWhite;
      }
      &.active{
        flex: 0 0 320px;
        span{
          justify-content: center;
          margin-top: 6rem;
          width: 120px;
          height: 120px;
          border-radius: 50%;
          background: rgba(25,133,255,.5);
          &:after{
            display: none;
          }
        }
        .c1,.c2,.c3{
          display: none;
        }
      }
    }
  }
  .partnerBox{
    padding: 1px;
    background: linear-gradient(135deg, #EDF3FE, #EFF8FE);
    .partnerList{
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 2rem;
      padding-left: 1rem;
      .partnerItem{
        flex: 0 0 calc(11.11% - 1rem);
        margin-right: 1rem;
        margin-bottom: 1rem;
        img{
          width: 100%;
        }
      }
    }
  }
  .banner2{
    width: 100%;
  }
}

